package com.yida.gwj.common.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Arrays;

/**
 * @author lqq
 * @date 2023-03-28
 */
@ApiModel("小区业主信息管理-小区列表请求")
public class GwjBaseCommunityQueryRequest implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("小区ID集合")
	private Long[] communityIds;

	@ApiModelProperty("小区名称")
	private String communityName;

	@ApiModelProperty("地区ID")
	private Long areaId;

	@ApiModelProperty("街道ID")
	private Long streetId;

	public Long[] getCommunityIds() {
		return communityIds;
	}

	public void setCommunityIds(Long[] communityIds) {
		this.communityIds = communityIds;
	}

	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}

	public String getCommunityName() {
		return communityName;
	}

	public Long getAreaId() {
		return areaId;
	}

	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}

	public Long getStreetId() {
		return streetId;
	}

	public void setStreetId(Long streetId) {
		this.streetId = streetId;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("VoteCommunityQueryRequest{");
		sb.append("communityIds=").append(communityIds == null ? "null" : Arrays.asList(communityIds).toString());
		sb.append(", communityName='").append(communityName).append('\'');
		sb.append(", areaId=").append(areaId);
		sb.append(", streetId=").append(streetId);
		sb.append('}');
		return sb.toString();
	}
}
